#ifndef CDC_DESCRIPTOR_DEFS_H_
#define CDC_DESCRIPTOR_DEFS_H_

/* USB CDC device product defines */
//#define BCD_DEVICE  0x0100
//#define VENDOR_ID   0x20B1
//#define PRODUCT_ID  0x0401

/* USB Sub class and protocol codes */
#define USB_CDC_ACM_SUBCLASS        0x02
#define USB_CDC_AT_COMMAND_PROTOCOL 0x01

/* CDC interface descriptor type */
#define USB_DESCTYPE_CS_INTERFACE   0x24

/* Endpoint Addresses for CDC device */
// they are now determined in devicedefines.h
/*
#define CDC_NOTIFICATION_EP_NUM     1
#define CDC_DATA_RX_EP_NUM          1
#define CDC_DATA_TX_EP_NUM          2
*/

/* Data endpoint packet size */
#define MAX_EP_SIZE     512

/* CDC Communications Class requests */
#define CDC_SET_LINE_CODING         0x20
#define CDC_GET_LINE_CODING         0x21
#define CDC_SET_CONTROL_LINE_STATE  0x22
#define CDC_SEND_BREAK              0x23


#endif /* CDC_DESCRIPTOR_DEFS_H_ */
